/*
 * @Author: WangLi
 * @Date: 2021-07-28 10:54:43
 * @LastEditors: WangLi
 * @LastEditTime: 2022-09-17 09:48:05
 * @Description:
 */
import request from "../fetch";

//微信登陆
export const getLoginCode = (params) =>
  request.post("/auth/loginByCode", params);

//获取手机号
export const getPhone = (params) => request.post("/auth/loginAndBind", params);

//手机验证码登录
export const phoneLogin = (params) =>
  request.post("/auth/loginByMobile", params);

//微信登陆-接车
export const getReceiveLoginCode = (params) =>
  request.post("/auth/loginReceiveByCode", params);

//获取手机号-接车
export const getReceivePhone = (params) =>
  request.post("/auth/loginReceiveAndBind", params);

//手机验证码登录-接车
export const phoneReceiveLogin = (params) =>
  request.post("/auth/loginReceiveByMobile", params);
